
package cn.xabad.commons.plist;
import java.lang.String;

public class PInteger extends PListObject implements
		IPListSimpleObject<Integer> {

	protected Integer intgr;

	
	private static final long serialVersionUID = -5952071046933925529L;

	public PInteger() {
		setType(PListObjectType.INTEGER);
	}

	
	@Override
	public Integer getValue() {
		return intgr;
	}

	
	@Override
	public void setValue(Integer val) {
		this.intgr = val;
	}

	
	@Override
	public void setValue(String val) {
		this.intgr = new Integer(Integer.parseInt(val
				.trim()));
	}

}
